package com.snail.billing;

import android.os.Bundle;
import android.view.Window;

import com.snail.billing.os.DialogPageActivity;

public class Billing extends DialogPageActivity {

	public static final String version = "20150127a";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		try {
			if (getIntent().getExtras() == null) {
				setFirstPage(DataCache.getInstance().importParams.pageClass);
			} else {
				setFirstPage(DataCache.getInstance().importParams.pageClass, getIntent().getExtras());
			}
		} catch (Exception e) {
			e.printStackTrace();
			finish();
		}
	}
}
